<form enctype="multipart/form-data" method="post" action="{url('uploads/index')}">
<input class="inputfile" type="file" name="file" id="file" />
    <input type="submit" value="确定保存" class="button" />
</form>